package com.comdo.newup_loan.module.home;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.comdo.newup_loan.MainActivity;
import com.comdo.newup_loan.R;
import com.comdo.newup_loan.base.BaseActivity;
import com.comdo.newup_loan.base.BasePresenter;
import com.comdo.newup_loan.util.TitleMenuUtil;

import butterknife.BindView;

/**
 * Created by liyuan on 2017/11/27.
 */

public class SuggestionSuccessActivity extends BaseActivity{
    @BindView(R.id.btn_submit)
    Button mSubmitBtn;
    @Override
    protected int getContentViewLayoutID() {
        return R.layout.activity_suggest_success;
    }

    @Override
    protected void init() {
        super.init();
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        new TitleMenuUtil(SuggestionSuccessActivity.this,"意见反馈",false);
        mSubmitBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                toHome();
            }
        });
    }
    private void toHome(){
        Intent intent=new Intent(SuggestionSuccessActivity.this, MainActivity.class);
        startActivity(intent);
    }
    @Override
    public BasePresenter getmPresenter() {
        return null;
    }

    @Override
    public void presenterSetView() {

    }
}
